package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

public class GSOperateType implements GSBaseBean {
	
	private String ID;
	private int OPERATE_TYPE;
	private String OPERATE_TYPE_NAME;
	private String STATUS;
	private int UPPER_OPERATE_TYPE;
	private String CREATE_TIME;
	private String CREATE_USER_ID;
	private String CREATE_USER_NAME;
	private String LAST_UPDATE_TIME;
	private String LAST_UPDATE_USER_ID;
	private String LAST_UPDATE_USER_NAME;
	private String REMARK;

	public Object process(ResultSet aResultSet) throws SQLException {
		GSOperateType operateType = new GSOperateType();
		operateType.ID = aResultSet.getString("ID") == null? "" :aResultSet.getString("ID");
		operateType.OPERATE_TYPE = aResultSet.getInt("OPERATE_TYPE");
		operateType.OPERATE_TYPE_NAME = aResultSet.getString("OPERATE_TYPE_NAME") == null? "" :aResultSet.getString("OPERATE_TYPE_NAME");
		operateType.STATUS = aResultSet.getString("STATUS") == null? "" :aResultSet.getString("STATUS");
		operateType.UPPER_OPERATE_TYPE = aResultSet.getInt("UPPER_OPERATE_TYPE") ;
		operateType.CREATE_TIME = aResultSet.getString("CREATE_TIME") == null? "" :aResultSet.getString("CREATE_TIME");
		operateType.CREATE_USER_ID = aResultSet.getString("CREATE_USER_ID") == null? "" :aResultSet.getString("CREATE_USER_ID");
		operateType.CREATE_USER_NAME = aResultSet.getString("CREATE_USER_NAME") == null? "" :aResultSet.getString("CREATE_USER_NAME");
		operateType.LAST_UPDATE_TIME = aResultSet.getString("LAST_UPDATE_TIME") == null? "" :aResultSet.getString("LAST_UPDATE_TIME");
		operateType.LAST_UPDATE_USER_ID = aResultSet.getString("LAST_UPDATE_USER_ID") == null? "" :aResultSet.getString("LAST_UPDATE_USER_ID");
		operateType.LAST_UPDATE_USER_NAME = aResultSet.getString("LAST_UPDATE_USER_NAME") == null? "" :aResultSet.getString("LAST_UPDATE_USER_NAME");
		operateType.REMARK = aResultSet.getString("REMARK") == null? "" :aResultSet.getString("REMARK");

		return operateType;
	}

	public String getID() {
		return ID;
	}

	public void setID(String iD) {
		ID = iD;
	}

	public int getOPERATE_TYPE() {
		return OPERATE_TYPE;
	}

	public void setOPERATE_TYPE(int oPERATETYPE) {
		OPERATE_TYPE = oPERATETYPE;
	}

	public String getOPERATE_TYPE_NAME() {
		return OPERATE_TYPE_NAME;
	}

	public void setOPERATE_TYPE_NAME(String oPERATETYPENAME) {
		OPERATE_TYPE_NAME = oPERATETYPENAME;
	}

	public String getSTATUS() {
		return STATUS;
	}

	public void setSTATUS(String sTATUS) {
		STATUS = sTATUS;
	}

	public int getUPPER_OPERATE_TYPE() {
		return UPPER_OPERATE_TYPE;
	}

	public void setUPPER_OPERATE_TYPE(int uPPEROPERATETYPE) {
		UPPER_OPERATE_TYPE = uPPEROPERATETYPE;
	}

	public String getCREATE_TIME() {
		return CREATE_TIME;
	}

	public void setCREATE_TIME(String cREATETIME) {
		CREATE_TIME = cREATETIME;
	}

	public String getCREATE_USER_ID() {
		return CREATE_USER_ID;
	}

	public void setCREATE_USER_ID(String cREATEUSERID) {
		CREATE_USER_ID = cREATEUSERID;
	}

	public String getCREATE_USER_NAME() {
		return CREATE_USER_NAME;
	}

	public void setCREATE_USER_NAME(String cREATEUSERNAME) {
		CREATE_USER_NAME = cREATEUSERNAME;
	}

	public String getLAST_UPDATE_TIME() {
		return LAST_UPDATE_TIME;
	}

	public void setLAST_UPDATE_TIME(String lASTUPDATETIME) {
		LAST_UPDATE_TIME = lASTUPDATETIME;
	}

	public String getLAST_UPDATE_USER_ID() {
		return LAST_UPDATE_USER_ID;
	}

	public void setLAST_UPDATE_USER_ID(String lASTUPDATEUSERID) {
		LAST_UPDATE_USER_ID = lASTUPDATEUSERID;
	}

	public String getLAST_UPDATE_USER_NAME() {
		return LAST_UPDATE_USER_NAME;
	}

	public void setLAST_UPDATE_USER_NAME(String lASTUPDATEUSERNAME) {
		LAST_UPDATE_USER_NAME = lASTUPDATEUSERNAME;
	}

	public String getREMARK() {
		return REMARK;
	}

	public void setREMARK(String rEMARK) {
		REMARK = rEMARK;
	}

}
